package org.dormnet.dao.bean;

import java.util.Date;

public class Message {
	private int mid;
	private String leaver;
	private Integer todorm;
	private Date mtime;
	private String content;
	private int mtype;
	private String specific;
	private int isdeleted;
	
	public String getLeaver() {
		return leaver;
	}
	public void setLeaver(String leaver) {
		this.leaver = leaver;
	}
	public Integer getTodorm() {
		return todorm;
	}
	public void setTodorm(Integer todorm) {
		this.todorm = todorm;
	}
	public Date getMtime() {
		return mtime;
	}
	public void setMtime(Date mtime) {
		this.mtime = mtime;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public int getMtype() {
		return mtype;
	}
	public void setMtype(int mtype) {
		this.mtype = mtype;
	}
	public String getSpecific() {
		return specific;
	}
	public void setSpecific(String specific) {
		this.specific = specific;
	}
	public int getIsdeleted() {
		return isdeleted;
	}
	public void setIsdeleted(int isdeleted) {
		this.isdeleted = isdeleted;
	}
	@Override
	public String toString() {
		return "Message [mId=" + mid + ", leaver=" + leaver + ", todorm="
				+ todorm + ", mtime=" + mtime + ", content=" + content
				+ ", mtype=" + mtype + ", specific=" + specific
				+ ", isdeleted=" + isdeleted + "]";
	}
	public Message(int mid, String leaver, Integer todorm, Date mtime,
			String content, int mtype, String specific, int isdeleted) {
		super();
		this.mid = mid;
		this.leaver = leaver;
		this.todorm = todorm;
		this.mtime = mtime;
		this.content = content;
		this.mtype = mtype;
		this.specific = specific;
		this.isdeleted = isdeleted;
	}
	public Message() {
		super();
	}
	public int getMid() {
		return mid;
	}
	public void setMid(int mid) {
		this.mid = mid;
	}
	
	
}
